package com.blogspot.wanyancan.client.image;

import java.util.Iterator;
import java.util.List;


import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author billy
 *
 */
public class ImageRec implements IsSerializable {
	private int id;

	private String name = "";

	private String description = "";

	private String prop ="";

	private List imglist;

/*	public ImageRec(int id, String name, String desc) {
		this.id = id;
		this.name = name;
		description = desc;
	}
	
	public ImageRec( String name, String desc) {
		this.name = name;
		description = desc;
	}*/
	public String getDescription() {return description;	}
	public String getName() {	return name;	}
	public void setDescription(String description) {	this.description = description;	}
	public void setName(String name) {		this.name = name;	}

	public String getProp() {return prop;}
	public void setProp(String prop) {this.prop = prop;}

	
	/**
	 * @return List of id(Integer) under the same name
	 */
	public List getImglist() {
		return imglist;
	}

	public void setImglist(List imglist) {
		this.imglist = imglist;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
